home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Gold Collection
/
Software Vault - The Gold Collection (American Databankers) (1993).ISO
/
cdr18
/
pdl322.zip
/
PDLRUN.BXT
< prev
next >
Wrap
Text File
|
1992-10-17
|
1KB
|
62 lines
echo off
rem ***********************************************************************
rem * PDLRUN.BAT *
rem * GLOBAL VARIABLES: *
rem * %1 - PDL PATH %5 - MISSING QUOTES FILE *
rem * %2 - QUOTE HISTORY FILE %6 - NUMBER OF RETRIES (0-9) *
rem * %3 - INPUT FILE %7 - PRODIGY AUTOLOGON NICKNAME *
rem * %4 - OUTPUT FILE %8 - PROGRAM TO CALL *
rem * *
rem ***********************************************************************
echo *********************************************************************
echo * PDLRUN.BAT *
echo *********************************************************************
set TRY=%6
set PDLRUN=ON
cd %1
pdl %3 %4
:newtag
pdlmis %3 %4 %5
if ERRORLEVEL 1 GOTO :more
GOTO :endit
:more
GOTO :T%TRY%
:T0
goto :nogood
:T1
set TRY=0
goto :tag
:T2
set TRY=1
goto :tag
:T3
set TRY=2
goto :tag
:T4
set TRY=3
goto :tag
:T5
set TRY=4
goto :tag
:T6
set TRY=5
goto :tag
:T7
set TRY=6
goto :tag
:T8
set TRY=7
goto :tag
:T9
set TRY=8
:tag
pdl -a %5 %4
GOTO :newtag
:nogood
echo Retry count exhausted - PDL terminating
:endit
copy %2+%4 %2
set PDLRUN=OFF
%8
rem